package org.seedltd.upms.mapper.sys;

import org.apache.ibatis.annotations.Select;
import org.seedltd.core.base.IBaseMapper;
import org.seedltd.upms.model.sys.entity.SysParam;

/**
 * 参数管理数据库访问接口
 */
public interface SysParamMapper extends IBaseMapper<SysParam> {

    @Select("select 1 from sys_param where param_key = #{key} limit 1")
    Integer checkKeyExists(String key);
}
